<{include file="public/header.html"}>
<div class="xinsu-right">
	<div class="xinsu-right-content">
		<div class="xinsu-data-content">
			<div class="xinsu-title">
				<span class="layui-breadcrumb">
					<a><cite>当前位置</cite></a>
					<a ><cite>站内信管理</cite></a>
				</span>
			</div>
		
			<form class="layui-form xinsu-form" action="" method="get">
				<div class="layui-form-item">
					
					<div class="layui-inline">
						<label class="layui-form-label xinsu-form-label">时间</label>
						<div class="layui-input-inline xinsu-input-inline">
							<input type="text" name="start_time" id="start_time" lay-verify="date"  autocomplete="off" class="layui-input"  readonly="readonly" onclick="layui.laydate({elem: this})" value="<{if $start_time != '0'}><{$start_time}><{/if}>">
						</div>
					</div>
					<div class="layui-inline">
						<label class="layui-form-label xinsu-form-label">~</label>
						<div class="layui-input-inline xinsu-input-inline">
							<input type="text" name="end_time" id="end_time" lay-verify="date"  autocomplete="off" class="layui-input"  readonly="readonly" onclick="layui.laydate({elem: this})" value="<{if $end_time != '0'}><{$end_time}><{/if}>">
						</div>
					</div>
					<button class="layui-btn xinsu-btn">查询</button>
					<span>记录总数：共 <{$total}> 条</span>
				</div>
			</form>
			<div class="layui-form xinsu-form">
				<table class="layui-table">
					<thead>
						<tr>
							<th width="10%">ID</th>
							<th width="10%">收信用户</th>
							<th width="15%">时间</th>
							<th>标题</th>
							<th width="10%">标识</th>
							<th width="10%">操作</th>
						</tr> 
					</thead>
					<tbody>
						<{if empty($list) == false}>
						<{foreach $list as $val}>
						<tr>
							<td><{$val.id}></td>
							<td><a href="javascript:" data="<{$val.receiver}>" class="xinsu-fontcolor-blue xinsu-user"><{$val.username}></a></td>
							<td><{$val["add_time"]}></td>
							<td style="text-align:left"><a href="javascript:;" data-uri="/<{$common_info.module}>/message/mail_detail/<{$val.id}>" data-title="查看消息" class="xinsu-content xinsu-fontcolor-blue"><{$val.title}></div></td>
							<td>
								<{if $val.isread==0}>未读<{else}>已读<{/if}>
							</td>
							<td>
								<a class="xinsu-fontcolor-blue xinsu-delete" href="javascript:;" data="<{$val.id}>">删除</a>
							</td>
						</tr>
						<{/foreach}>
						<{else}>
						<tr>
							<td colspan="6">暂无数据</td>
						</tr>
						<{/if}>
					</tbody>
				</table>
			</div>
			<div class="xinsu-page">
				<div class="xinsu-show">
					<{$page}>
				</div>
				<div class="xinsu-clear"></div>
			</div>
		</div>
	</div>
</div>
<{include file="public/footer.html"}>